export default {
  methods: {
    checkPermBtn(code) {
      const points = this.$store.state.user.points
      return points && points.includes(code)
    }
  }
}
